home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 08p5.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-06  |  2.0 KB  |  68 lines

  1. on startMovie
  2.   global gKnobSprite, gSendMovie, gCursorReady, gKnobState
  3.   puppetSprite(48, 1)
  4.   gCursorReady = 1
  5.   gKnobSprite = 14
  6.   gSendMovie = "08p5"
  7.   gKnobState = 1
  8.   puppetSprite(gKnobSprite, 1)
  9.   setUpKnob()
  10.   set the mouseDownScript to EMPTY
  11.   set the mouseUpScript to EMPTY
  12. end
  13.  
  14. on idle
  15.   global gCursorReady
  16.   if gCursorReady = 1 then
  17.     cursor(200)
  18.     checkCursors()
  19.     set the locH of sprite 48 to the mouseH
  20.     set the locV of sprite 48 to the mouseV
  21.     updateStage()
  22.   end if
  23. end
  24.  
  25. on checkCursors
  26.   global gMagCursor
  27.   gMagCursor = "magCursor"
  28.   set the castNum of sprite 48 to the number of member "curs1"
  29.   if the castNum of sprite 5 and rollOver(5) then
  30.     set the castNum of sprite 48 to the number of member gMagCursor
  31.   end if
  32.   if the castNum of sprite 6 and rollOver(6) then
  33.     set the castNum of sprite 48 to the number of member gMagCursor
  34.   end if
  35.   if the castNum of sprite 7 and rollOver(7) then
  36.     set the castNum of sprite 48 to the number of member gMagCursor
  37.   end if
  38.   if the castNum of sprite 8 and rollOver(8) then
  39.     set the castNum of sprite 48 to the number of member "deMagCursor"
  40.   end if
  41.   repeat with i = 15 to 17
  42.     if rollOver(i) then
  43.       set the castNum of sprite 48 to the number of member "hotCursor"
  44.     end if
  45.   end repeat
  46.   repeat with i = 20 to 21
  47.     if the castNum of sprite i and rollOver(i) then
  48.       set the castNum of sprite 48 to the number of member "hotCursor"
  49.     end if
  50.   end repeat
  51.   if the castNum of sprite 26 and rollOver(26) then
  52.     set the castNum of sprite 48 to the number of member "linkCurs"
  53.   end if
  54.   repeat with i = 30 to 31
  55.     if rollOver(i) then
  56.       set the castNum of sprite 48 to the number of member "hotCursor"
  57.     end if
  58.   end repeat
  59.   repeat with i = 40 to 42
  60.     if rollOver(i) then
  61.       set the castNum of sprite 48 to the number of member "hotCursor"
  62.     end if
  63.   end repeat
  64.   if the castNum of sprite 47 and rollOver(47) then
  65.     set the castNum of sprite 48 to the number of member "hotCursor"
  66.   end if
  67. end
  68.